<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<div class='span8' style='height:900px;'>
	<div class="panel">
		<div class="panel-heading word"
			style="background-color: #e9d555; color: #eee;">数计要闻</div>
		<table class="table table-hover"  style='width:100%;'>
          <c:forEach items="${news }"  var="n">
             <tr >
              <td align="left"><a href="<%=basePath%>Detail/${n.id}">${n.title }</a></td>
              <td></td>
              <td></td>
               <td></td>
              <td></td>
               <td></td>
              <td></td>
               <td></td>
              <td></td>
                 <td></td>
              <td></td>
               <td></td>
              <td></td>
               <td></td>
              <td></td>
               <td></td>
              <td></td>
              <td style='margin-left:400px;' align="right">${n.publishDate}</td>
           </tr>
          </c:forEach>
           
		</table>
		<div id="pageDir"></div>
		<input type="hidden" value="<%=basePath%>news"  id="url"/>
		<input type="hidden" value="${pageSize}" id="ps"/>
		<input type="hidden" value="${pageCount }" id="p"/>
		<input type="hidden" value="${page }" id="cur"/>
	</div>

</div>
<div class='span4' style='margin-left: 10px;height:140px;'>
  <div class="panel"> 
  <div class="panel-heading word" style="background-color:#e9d555;color:#eee;">新闻热点</div>
            <div style="border:2px;align:center;height:400px;">
            </div>
       </div> 
</div>